package com.yi.demo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Wallet {
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    @TableField
    private BigDecimal money;


}
